export const options1 = [
  {
    tooltip: {
      trigger: 'axis'
    },
    title:{
      show:true,
      text:'月交易额',
      x:'top',
      y:'left',
    },
    legend: {
      data: ['全站GMV', '爆品GMV', '严选GMV']
    },
    toolbox: {
      show: true,
      orient:'vertical',
      padding:20,
      itemGap:15,
      feature: {
        mark: { show: true },
        dataView: { show: true, readOnly: false, title : '视图',},
        magicType: { show: true,title : {
          line : '折线图',
          bar : '柱形图',
          stack : '堆积',
          tiled : '平铺',
         },
          type: [ 'bar','line',  'stack', 'tiled']
         },
        restore: { show: true },
        saveAsImage: { show: true }
      }
    },
    calculable: true,
    xAxis: [
      {
        type: 'category',
        boundaryGap: true,
        data: [] // 此处填入每条数据的统计日期
      }
    ],
    yAxis: [
      {
        type: 'value'
      }
    ],
    series: [
      {
        name: '全站GMV',
        type: 'bar',
        stack: '总量',
        data: []
      },
      {
        name: '爆品GMV',
        type: 'bar',
        stack: '总量',
        data: []
      },
      {
        name: '严选GMV',
        type: 'bar',
        stack: '总量',
        data: []
      }
    ]
  },
  {
    tooltip: {
      trigger: 'axis'
    },
    legend: {
      data: ['下单', '付款', '过期', '取消']
    },
    title:{
      show:true,
      text:'订单',
      x:'left',
      y:'top',
    },
    toolbox: {
      show: true,
      orient:'vertical',
      padding:20,
      itemGap:15,
      feature: {
        mark: { show: true },
        dataView: { show: true, readOnly: false },
        magicType: { 
           show: true, 
           title : {
            line : '折线图',
            bar : '柱形图',
            stack : '堆积',
            tiled : '平铺',
           },
           type: ['line', 'bar', 'stack', 'tiled']
           },
        saveAsImage: { show: true }
      }
    },
    calculable: true,
    xAxis: [
      {
        type: 'category',
        boundaryGap: true,
        data: [] // 此处填入每条数据的统计日期
      }
    ],
    yAxis: [
      {
        type: 'value'
      }
    ],
    series: [
      {
        name: '下单',
        type: 'bar',
        stack: '总量',
        data: []
      },
      {
        name: '付款',
        type: 'bar',
        stack: '总量',
        data: []
      },
      {
        name: '过期',
        type: 'bar',
        stack: '总量',
        data: []
      },
      {
        name: '取消',
        type: 'bar',
        stack: '总量',
        data: []
      }
    ]
  },
  {
    tooltip: {
      trigger: 'axis'
    },
    title:{
      show:true,
      text:'月销量',
      x:'left',
      y:'top',
    },
    legend: {
      data: ['产品销量', '取消产品量']
    },
    toolbox: {
      show: true,
      orient:'vertical',
      padding:20,
      itemGap:15,
      feature: {
        mark: { show: true },
        dataView: { show: true, readOnly: false },
        magicType: { 
           show: true, 
           title : {
            line : '折线图',
            bar : '柱形图',
            stack : '堆积',
            tiled : '平铺',
           },
           type: ['line', 'bar', 'stack', 'tiled']
           },
        saveAsImage: { show: true }
      }
    },
    calculable: true,
    xAxis: [
      {
        type: 'category',
        boundaryGap: true,
        data: [] // 此处填入每条数据的统计日期
      }
    ],
    yAxis: [
      {
        type: 'value'
      }
    ],
    series: [
      {
        name: '产品销量',
        type: 'bar',
        stack: '总量',
        data: []
      },
      {
        name: '取消产品量',
        type: 'bar',
        stack: '总量',
        data: []
      }
    ]
  },
  {
    tooltip: {
      trigger: 'axis'
    },
    title:{
      show:true,
      text:'月收入',
      x:'left',
      y:'top',
    },
    legend: {
      data: ['平台收入', '站点收入', '达人收入', '提款总额', '店铺提款总额']
    },
    toolbox: {
      show: true,
      orient:'vertical',
      padding:20,
      itemGap:15,
      feature: {
        mark: { show: true },
        dataView: { show: true, readOnly: false },
        magicType: { 
           show: true, 
           title : {
            line : '折线图',
            bar : '柱形图',
            stack : '堆积',
            tiled : '平铺',
           },
           type: ['line', 'bar', 'stack', 'tiled']
           },
        saveAsImage: { show: true }
      }
    },
    calculable: true,
    xAxis: [
      {
        type: 'category',
        boundaryGap:true,
        data: [] // 此处填入每条数据的统计日期
      }
    ],
    yAxis: [
      {
        type: 'value'
      }
    ],
    series: [
      {
        name: '平台收入',
        type: 'bar',
        stack: '总量',
        data: []
      },
      {
        name: '站点收入',
        type: 'bar',
        stack: '总量',
        data: []
      },
      {
        name: '达人收入',
        type: 'bar',
        stack: '总量',
        data: []
      },
      {
        name: '提款总额',
        type: 'bar',
        stack: '总量',
        data: []
      },
      {
        name: '店铺提款总额',
        type: 'bar',
        stack: '总量',
        data: []
      },
    ]
  },
  {
    tooltip: {
      trigger: 'axis'
    },
    title:{
      show:true,
      text:'月增用户',
      x:'left',
      y:'top',
    },
    legend: {
      data: ['用户', '达人', '下单新用户']
    },
    toolbox: {
      show: true,
      orient:'vertical',
      padding:20,
      itemGap:15,
      feature: {
        mark: { show: true },
        dataView: { show: true, readOnly: false },
        magicType: { 
           show: true, 
           title : {
            line : '折线图',
            bar : '柱形图',
            stack : '堆积',
            tiled : '平铺',
           },
           type: ['line', 'bar', 'stack', 'tiled']
           },
        saveAsImage: { show: true }
      }
    },
    calculable: true,
    xAxis: [
      {
        type: 'category',
        boundaryGap: true,
        data: [] // 此处填入每条数据的统计日期
      }
    ],
    yAxis: [
      {
        type: 'value'
      }
    ],
    series: [
      {
        name: '用户',
        type: 'bar',
        stack: '总量',
        data: []
      },
      {
        name: '达人',
        type: 'bar',
        stack: '总量',
        data: []
      },
      {
        name: '下单新用户',
        type: 'bar',
        stack: '总量',
        data: []
      }
    ]
  }
]
